package com.cpfmat.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangbin
 * @since 2018-07-30
 */
public class Article extends Model<Article> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("SEQ_ID")
    private String seqId;
    /**
     * 文章标题
     */
    @TableField("TITLE")
    private String title;
    /**
     * 文章子标题
     */
    @TableField("SUB_TITLE")
    private String subTitle;
    /**
     * 所属栏目
     */
    @TableField("COLUMN_ID")
    private String columnId;
    /**
     * 行业分类
     */
    @TableField("INDUSTRY")
    private String industry;
    /**
     * 行业子分类
     */
    @TableField("SUB_INDUSTRY")
    private String subIndustry;
    /**
     * 富文本
     */
    @TableField("CONTENT")
    private String content;
    /**
     * 封面图片路径
     */
    @TableField("IMAGE_PATH")
    private String imagePath;
    /**
     * 文章发布人
     */
    @TableField("INSERT_USER")
    private String insertUser;
    /**
     * 文章描述
     */
    @TableField("DESCRIPTION")
    private String description;
    /**
     * 文章发布时间
     */
    @TableField("INSERT_TIME")
    private Date insertTime;
    /**
     * 文章更新时间
     */
    @TableField("UPDATE_TIME")
    private Date updateTime;
    /**
     * 更新次数
     */
    @TableField("UPDATE_COUNTS")
    private Integer updateCounts;
    /**
     * 浏览次数
     */
    @TableField("VIEW_COUNTS")
    private Integer viewCounts;
    /**
     * 文章提供者
     */
    @TableField("PROVIDER")
    private String provider;
    /**
     * 删除标志位
     */
    @TableField("DEL_FLAG")
    private Integer delFlag;
    /**
     * 是否展示在前台
     */
    @TableField("IS_SHOW")
    private Integer isShow;


    public String getSeqId() {
        return seqId;
    }

    public void setSeqId(String seqId) {
        this.seqId = seqId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public String getColumnId() {
        return columnId;
    }

    public void setColumnId(String columnId) {
        this.columnId = columnId;
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public String getSubIndustry() {
        return subIndustry;
    }

    public void setSubIndustry(String subIndustry) {
        this.subIndustry = subIndustry;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public String getInsertUser() {
        return insertUser;
    }

    public void setInsertUser(String insertUser) {
        this.insertUser = insertUser;
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUpdateCounts() {
        return updateCounts;
    }

    public void setUpdateCounts(Integer updateCounts) {
        this.updateCounts = updateCounts;
    }

    public Integer getViewCounts() {
        return viewCounts;
    }

    public void setViewCounts(Integer viewCounts) {
        this.viewCounts = viewCounts;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    protected Serializable pkVal() {
        return this.seqId;
    }

    @Override
	public String toString() {
		return "Article [seqId=" + seqId + ", title=" + title + ", subTitle=" + subTitle + ", columnId=" + columnId
				+ ", industry=" + industry + ", subIndustry=" + subIndustry + ", content=" + content + ", imagePath="
				+ imagePath + ", insertUser=" + insertUser + ", description=" + description + ", insertTime="
				+ insertTime + ", updateTime=" + updateTime + ", updateCounts=" + updateCounts + ", viewCounts="
				+ viewCounts + ", provider=" + provider + ", delFlag=" + delFlag + ", isShow=" + isShow + "]";
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getProvider() {
		return provider;
	}

	public void setProvider(String provider) {
		this.provider = provider;
	}

	public Integer getIsShow() {
		return isShow;
	}

	public void setIsShow(Integer isShow) {
		this.isShow = isShow;
	}
}
